<?php 
echo $_POST['aaa'];

echo isset($_POST['aaa'])?$_POST['aaa']:'hahahahaha';

/*if(isset($_POST['aaa'])){
    echo 1;
} else {
    echo 2;
}*/
?>